#include "StdAfx.h"
#include "GroundTransform.h"


CGroundTransform::CGroundTransform(void)
{
}

CGroundTransform::CGroundTransform( const CGroundTransform* pEntityObj )
	:CGroundUnit(pEntityObj)
{

}


CGroundTransform::~CGroundTransform(void)
{
}

void CGroundTransform::Serialize( CArchive & ar )
{
	throw std::exception("The method or operation is not implemented.");
}

void CGroundTransform::Clear()
{
}

void CGroundTransform::CopyDisplayObj( long lSourceLayerId, long lDestLayerId )
{
	CEntityObj::CopyDisplayObj(lSourceLayerId, lDestLayerId);
}

void CGroundTransform::DeleteDisplayObj( long lLayerId )
{
	CEntityObj::DeleteDisplayObj(lLayerId);
}

CDisplayObj * CGroundTransform::CreateDisplayObj( long lLayerId )
{
	CGroundTransformDisObj* pGroundTransformDisObj = new CGroundTransformDisObj(this);
	pGroundTransformDisObj->SetLayerId(lLayerId);
	return pGroundTransformDisObj;
}

CObj * CGroundTransform::Clone() const
{
	return new CGroundTransform(this);
}

void CGroundTransform::Transform( const CMatrix transf )
{
}

bool CGroundTransform::GetBox( double & dblLeft, double & dblBottom, double & dblRight, double & dblTop ) const
{
	return false;
}

eGroundUnitEntType CGroundTransform::GetGroundUnitType() const
{
	return GROUND_TRANSFORM;
}
